﻿using Dapper;

namespace Todo.Common.Models.Todo
{
    [Table("todos")]
    public record TodoItemDBEntity : BaseDbEntity
    {

        [Column("title")]
        public string? Title { get; set; }

        [Column("description")]
        public string? Description { get; set; }

        [Column("is_completed")]
        public bool IsCompleted { get; set; }

    }
}
